//
//  CTMediator+SEAlterAction.h
//  SleepingElf
//
//  Created by karong on 2023/6/21.
//

#import "CTMediator.h"

NS_ASSUME_NONNULL_BEGIN

@interface CTMediator (GRAlterAction)

/// title 标題
/// content 正文
/// confirm 確認按钮
/// confirmHandle 確認按鈕回調
/// cancel 取消按钮
- (UIViewController *)ct_showAlterWithTitle:(NSString *)title
                                    content:(NSString *)content
                                    confirm:(NSString *)confirm
                              confirmHandle:(EmptyBlock)confirmHandle
                                     cancel:(NSString *)cancel;

/// 單行輸入彈窗
- (UIViewController *)ct_showTFAlterWithTitle:(NSString *)title
                                      content:(NSString *)content
                               placeholderStr:(NSString *)placeholderStr
                                 maxWordCount:(NSInteger)maxWordCount
                                      confirm:(NSString *)confirm
                                confirmHandle:(StringBlock)confirmHandle
                                       cancel:(NSString *)cancel;
@end

NS_ASSUME_NONNULL_END
